<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <script src="/property/js/jquery.min.js"></script>
    <th:block th:include="include :: header('新增岗位')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-product-add" enctype="multipart/form-data" >
        <!--			<div class="form-group">-->
        <!--				<label class="col-sm-3 control-label is-required">商品id：</label>-->
        <!--				<div class="col-sm-8">-->
        <!--					<input class="form-control" type="text" name="product_id" id="product_id" required>-->
        <!--				</div>-->
        <!--			</div>-->
<!--        <input class="form-control" type="hidden" name="id" id="id" required>-->
        <div class="form-group">
            <label class="col-sm-3 control-label is-required">地址名称：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="name" id="name" required>
            </div>
        </div>

    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "evaluation/location";
    function submitHandler() {
        var name = $("#name").val();
        if (name=="" || name==null){
            $.modal.alertError("请输入地址");
            return;
        }
        $.operate.save(prefix + "/add", $('#form-product-add').serialize());
    }
</script>
</body>
</html>
